home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
FishMarket 1.0
/
FishMarket v1.0.iso
/
fishies
/
326-350
/
disk_342
/
sksh
/
readme.pipes
< prev
next >
Wrap
Text File
|
1992-05-06
|
1KB
|
33 lines
This is a short note which describes how to use concurrent pipes. Concurrent
pipes are *NOT* supported as of SKsh version 1.4; however, there is enough
there to play with.
First, set the 'r' option of SKsh by using the "options" command. This
turns on "real" pipes. Now, set the following environment varibles:
BG_PRI = 0
BG_STACK = 8000
PIPE_DEV = 'pipe:sksh'
(All of the variables must be set; if not, the pipes will not work).
Now, pipes between two external binaries will use the AmigaDos pipe device.
However, there are several severe limitations:
1) Pipes between 3 or more external binaries WILL CRASH THE SYSTEM. This
appears to be a result of the ugly method used to join the native
AmigaDos I/O with the ANSI standard I/O, and not an SKsh bug.
2) Pipes between interal SKsh commands (functions, etc) and external or
internal commands will still use temporary files. This is because
concurrent pipes between internal shell commands requires a capability
that I simply do not have in the current version of AmigaDos.
Again, because this is important, *these inter process pipes are not at all
robust*. Use them at your own risk. They will probably work much better in
a future version of SKsh, but I'm not promising anything.
- steve